

CLASSPATH = ../../src:../../lib/dml.jar:../../lib/ssf.jar:../../lib/ssfnet.jar:../../lib/regexp.jar:../../lib/plot.jar:../../lib/plotapplication.jar:$(JAVA_HOME)/lib/classes.zip

OVERVIEW   = ../../src/SSF/overview.html

CORESSFNET = SSF.Net SSF.Net.Util SSF.OS SSF.Util.Random SSF.Util.Streams
COREGROUP  = "SSF.Net:SSF.Net.*:SSF.OS:SSF.Util.*"

CONTRIB    = SSF.OS.Socket SSF.OS.TCP SSF.OS.TCP.test SSF.OS.UDP SSF.OS.UDP.test SSF.OS.WWW SSF.OS.BGP4 SSF.OS.BGP4.Comm SSF.OS.BGP4.Path SSF.OS.BGP4.Players SSF.OS.BGP4.Policy SSF.OS.BGP4.Timing SSF.OS.BGP4.Util SSF.OS.BGP4.Widgets SSF.OS.BGP4.test.App SSF.OS.OSPF SSF.Util.Plot SSF.OS.NetFlow SSF.OS.NetFlow.Filter SSF.OS.NetFlow.Util SSF.OS.OSPFv2
CONTRIBGROUP = "SSF.OS.*"

APPS       =  SSF.App.DDoS
APPSGROUP  =  "SSF.App.*"


CERNLITE   = cern.colt cern.jet.math cern.jet.random cern.jet.stat com.imsl.math edu.cornell.lassp.houle.RngPack cern.jet.random.engine cern.jet.random.sampling cern.jet.stat.quantile

JAVADOC = javadoc -windowtitle "Scalable Simulation Framework" -classpath $(CLASSPATH) -overview $(OVERVIEW) -group "Core SSFNet Packages" $(COREGROUP) -group "Contributed SSFNet Packages" $(CONTRIBGROUP) -group "Contributed SSFNet Models" $(APPSGROUP)

all:
	$(JAVADOC) $(CORESSFNET) $(CONTRIB) $(APPS) $(CERNLITE)
	@echo
	@echo Generated javadoc documentation in directory doc/ssfnet
	@echo  -------------------------------------------------------


spotless:
	- rm -rf *.html *.css package-list SSF com edu cern 
